package Structural.Proxy.demo1;

public class LogProxy implements MoveAble {

	MoveAble moveAble;

	public LogProxy(MoveAble moveAble) {
		this.moveAble = moveAble;
	}

	@Override
	public void move() {
		System.out.println("log start");
		moveAble.move();
		System.out.println("log end");
	}
}
